package com.xiaojf.xfile.configure.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置属性
 *
 * @author Ade.Xiao 2021/4/10 10:33
 */
@ConfigurationProperties(prefix = "xfile.local")
public class LocalFileStorageProperties {
    /**
     * 文件夹根目录
     */
    private String basePath;
    /**
     * 日期格式
     */
    private String dateFormat = "yyyyMMdd";

    public String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        this.basePath = basePath;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }
}
